package org.lilred.ui;

import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.Graphics;

public class SpacerField extends Field {
	int width; 
	int height;
	
	public SpacerField(int width, int height) {
		this.width = width;
		this.height = height;
	}
	
	public int getPreferredWidth() { return width; }
	public int getPreferredHeight() { return height; }
	
	protected void layout(int width, int height) {
		setExtent(this.width, this.height);
	}

	protected void paint(Graphics graphics) {			
	}
}
